﻿using Dimeng.ArdisPostProcessor.HomagLC4.Ardis;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfApplication1
{
    public class PatternViewModel
    {
        public bool IsChosen { get; set; }
        public double Width { get; set; }
        public double Length { get; set; }
        public string Material { get; set; }
        public string Comment { get; set; }

        public string ImageFileName { get; set; }

        public List<ExternCut> Parts { get; set; }

        public PatternViewModel(double w, double l, string m, string comment, string filename,List<ExternCut> cuts)
        {
            this.Width = w;
            this.Length = l;
            this.Material = m;
            this.Comment = comment;
            this.ImageFileName = filename;

            this.IsChosen = true;

            this.Parts = cuts;
        }
    }

    public class PartViewModel
    {
        
        public double Length { get; set; }
        public double Width { get; set; }
    }
}
